<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <!-- import CSS -->
  <link rel="stylesheet" href="https://cdn.staticfile.org/element-ui/2.15.9/theme-chalk/index.css">
  <style>
    .el-carousel__item h3 {
      color: #475669;
      font-size: 14px;
      opacity: 0.75;
      line-height: 200px;
      margin: 0;
    }
    .el-carousel__item:nth-child(2n) {
      background-color: #99a9bf;
    }

    .el-carousel__item:nth-child(2n+1) {
      background-color: #d3dce6;
    }
  </style>
</head>
<body>
<div id="app">
  <img src="../day04/a.PNG" alt="">
  <template>
    <el-carousel :interval="4000" type="card" height="200px" width="200px">
      <el-carousel-item v-for="item in arr" :key="item">
        <img :src="item" width="150px" height="auto" alt="">
      </el-carousel-item>
    </el-carousel>
  </template>
</div>
</body>
<!-- import Vue before Element -->
<script src="https://cdn.staticfile.org/vue/2.6.14/vue.min.js"></script>
<!-- import JavaScript -->
<script src="https://cdn.staticfile.org/element-ui/2.15.9/index.min.js"></script>
<script>
  let v = new Vue({
    el: '#app',
    data: function() {
      return {
        arr: ["../../day04/a.PNG", "../../day04/b.jpg", "../../day04/c.jpg", "../../day04/d.jpg", "../../day04/e.jpg",
          "../../day04/f.jpg"],


      }
    },
    methods:{


    }
  })
</script>
</html>